public class Main{
	public static void main(String[] args) throws CloneNotSupportedException{
		Table table=new Table();

		table.setCenter(new Point(1,2));
		Point orgCenter=table.getCenter();
		
		Table cloneTable=(Table) table.clone();
		Point cloneCenter=cloneTable.getCenter();

	
		

		System.out.printf("org:(%d,%d)\n",table.getCenter().getX(),table.getCenter().getY());
		System.out.printf("org:(%d,%d)\n\n",cloneTable.getCenter().getX(),cloneTable.getCenter().getY());

		cloneTable.getCenter().setX(10);
		cloneTable.getCenter().setY(10);

		System.out.printf("org:(%d,%d)\n",table.getCenter().getX(),table.getCenter().getY());
		System.out.printf("org:(%d,%d)\n",cloneTable.getCenter().getX(),cloneTable.getCenter().getY());

		table.getCenter().setX(10);
		table.getCenter().setY(10);


		System.out.printf("org:(%d,%d)\n",table.getCenter().getX(),table.getCenter().getY());
		System.out.printf("org:(%d,%d)\n",cloneTable.getCenter().getX(),cloneTable.getCenter().getY());

	}
}